<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDPNET: ATCalFuncsExtension.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDPNET<span id="projectnumber">&#160;1.0</span>
   </div>
   <div id="projectbrief">.NET SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_6e8f4508e1d360b9a007f40edb8dae96.html">_SSDP</a></li><li class="navelem"><a class="el" href="dir_b1efc71fc5c0b1546dfaf7dca60b6e03.html">最新</a></li><li class="navelem"><a class="el" href="dir_3da81ba1892e410416fdba26c4859275.html">Repo</a></li><li class="navelem"><a class="el" href="dir_36a1a74683486d663aaa949ba78ca961.html">bim-ssd-core-plugin</a></li><li class="navelem"><a class="el" href="dir_c085970a38f500e61b887bb609fc24fd.html">SSDP.Net</a></li><li class="navelem"><a class="el" href="dir_3d9778eef114628a3d8facdda36c5043.html">SSDPNet</a></li><li class="navelem"><a class="el" href="dir_bd54ebea303681ad88c98d142df46247.html">PublicAPI</a></li><li class="navelem"><a class="el" href="dir_a98111838889263eac9b791e52aad95a.html">ATFuncs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATCalFuncsExtension.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma region Include_Platform</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &lt;ATECCore\ATECCoreAPI.h&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">using namespace </span>System;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">using namespace </span>System::Runtime::CompilerServices;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">using namespace </span>System::Runtime::InteropServices;</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="keyword">using namespace </span>System::Collections::Generic;</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>USING_NAMESPACE_ATEC</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>USING_NAMESPACEATEC_ATDATACORE</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>USING_NAMESPACE_ATEC_RATCORE</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#pragma endregion Include_Platform</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>{</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html">   22</a></span>    <span class="keyword">public ref class</span> <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html">ATCalFuncs</a></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>    {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>        <span class="keyword">static</span>   <span class="keywordtype">int</span>   <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a7d2f4333ef14c61250a9274e17833082">ProjectPerpendicular</a></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>        (</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>            out ATEC::GeometryNET::XPoint3d position,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>            out ATEC::GeometryNET::XPoint3d tangent,</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>            out ATEC::GeometryNET::XPoint3d  perpendicular,</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>            ATEC::ATDataCoreNET::ATObjects::ATObject   edP,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>            ATEC::ATDataCoreNET::ATSceneRef    SceneRef,</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>            ATEC::GeometryNET::XPoint3d inputPoint,</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>            ATEC::GeometryNET::XMatrix3d inputRotMatrix,</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>            <span class="keywordtype">double</span>          inputTolerance</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>        );</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#ac1a185276f37be44fe5675ec8b7fd6e8">IntersectAllBetweenElms</a>(</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>                out List&lt;ATEC::GeometryNET::XPoint3d&gt;  isPnt1,</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>                out List&lt;ATEC::GeometryNET::XPoint3d&gt;  isPnt2,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>                <span class="keywordtype">int</span>             isPntSize,</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>                ATEC::ATDataCoreNET::ATObjects::ATObject  edP1,</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>                ATEC::ATDataCoreNET::ATObjects::ATObject edP2,</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>                ATEC::GeometryNET::XMatrix3d     rotMatrix,</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>                <span class="keywordtype">double</span>          tolerance);</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>        <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#ad9fa8ccd8de3d2f6a4efbbb9ff3eaa59">IntersectAllBetweenExtendedElms</a>(</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>                out List&lt;ATEC::GeometryNET::XPoint3d&gt;  isPnt1,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>                out List&lt;ATEC::GeometryNET::XPoint3d&gt;  isPnt2,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>                <span class="keywordtype">int</span>             isPntSize,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>                ATEC::ATDataCoreNET::ATObjects::ATObject edP1,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>                ATEC::ATDataCoreNET::ATObjects::ATObject edP2,</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>                ATEC::GeometryNET::XMatrix3d   rotMatrix,</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>                <span class="keywordtype">double</span>          tolerance,</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>                ATEC::GeometryNET::XPoint3d  idPnt1P,</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>                ATEC::GeometryNET::XPoint3d  idPnt2P);</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>        <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a03b26092e609667eaf1993ee67f04383">MeasureElmDscrArea</a>(</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>            out <span class="keywordtype">double</span>         area,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>            out <span class="keywordtype">double</span>         perimeter,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>            ATEC::ATDataCoreNET::ATObjects::ATObject edP);</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a140e080a6258ad2478d3a53f70ab08e3">MeasureVolumeProperties</a>(</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>                out <span class="keywordtype">double</span>         volumeP,</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>                out <span class="keywordtype">double</span>         areaP,</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>                out <span class="keywordtype">double</span>         closureErrorP,</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>                out ATEC::GeometryNET::XPoint3d       centroidP,</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>                out ATEC::GeometryNET::XPoint3d       momentP,</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>                out <span class="keywordtype">double</span>         iXYP,</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>                out <span class="keywordtype">double</span>         iXZP,</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>                out <span class="keywordtype">double</span>         iYZP,</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>                out ATEC::GeometryNET::XPoint3d       principalMomentsP,</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>                out ATEC::GeometryNET::XPoint3d       principalDirectionsP,</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>                ATEC::ATDataCoreNET::ATObjects::ATObject edP,</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>                <span class="keywordtype">double</span>          tolerance);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span>    };</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>}</div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html">SSDPNET::ATCalFuncs</a></div><div class="ttdoc">计算元素的面积、体积及元素间的交点</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.h:23</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html_a03b26092e609667eaf1993ee67f04383"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a03b26092e609667eaf1993ee67f04383">SSDPNET::ATCalFuncs::MeasureElmDscrArea</a></div><div class="ttdeci">static int MeasureElmDscrArea(out double area, out double perimeter, ATEC::ATDataCoreNET::ATObjects::ATObject edP)</div><div class="ttdoc">Desc： 计算闭合元素的面积和周长, 非平面元素将返回投影到某平面后的面积</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.cpp:176</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html_a140e080a6258ad2478d3a53f70ab08e3"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a140e080a6258ad2478d3a53f70ab08e3">SSDPNET::ATCalFuncs::MeasureVolumeProperties</a></div><div class="ttdeci">static int MeasureVolumeProperties(out double volumeP, out double areaP, out double closureErrorP, out ATEC::GeometryNET::XPoint3d centroidP, out ATEC::GeometryNET::XPoint3d momentP, out double iXYP, out double iXZP, out double iYZP, out ATEC::GeometryNET::XPoint3d principalMomentsP, out ATEC::GeometryNET::XPoint3d principalDirectionsP, ATEC::ATDataCoreNET::ATObjects::ATObject edP, double tolerance)</div><div class="ttdoc">Desc： 计算元素体积等信息</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.cpp:207</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html_a7d2f4333ef14c61250a9274e17833082"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#a7d2f4333ef14c61250a9274e17833082">SSDPNET::ATCalFuncs::ProjectPerpendicular</a></div><div class="ttdeci">static int ProjectPerpendicular(out ATEC::GeometryNET::XPoint3d position, out ATEC::GeometryNET::XPoint3d tangent, out ATEC::GeometryNET::XPoint3d perpendicular, ATEC::ATDataCoreNET::ATObjects::ATObject edP, ATEC::ATDataCoreNET::ATSceneRef SceneRef, ATEC::GeometryNET::XPoint3d inputPoint, ATEC::GeometryNET::XMatrix3d inputRotMatrix, double inputTolerance)</div><div class="ttdoc">Desc： 计算点到元素的投影点</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.cpp:4</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html_ac1a185276f37be44fe5675ec8b7fd6e8"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#ac1a185276f37be44fe5675ec8b7fd6e8">SSDPNET::ATCalFuncs::IntersectAllBetweenElms</a></div><div class="ttdeci">static int IntersectAllBetweenElms(out List&lt; ATEC::GeometryNET::XPoint3d &gt; isPnt1, out List&lt; ATEC::GeometryNET::XPoint3d &gt; isPnt2, int isPntSize, ATEC::ATDataCoreNET::ATObjects::ATObject edP1, ATEC::ATDataCoreNET::ATObjects::ATObject edP2, ATEC::GeometryNET::XMatrix3d rotMatrix, double tolerance)</div><div class="ttdoc">Desc： 计算两个元素的所有交点</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.cpp:51</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_a_t_cal_funcs_html_ad9fa8ccd8de3d2f6a4efbbb9ff3eaa59"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_a_t_cal_funcs.html#ad9fa8ccd8de3d2f6a4efbbb9ff3eaa59">SSDPNET::ATCalFuncs::IntersectAllBetweenExtendedElms</a></div><div class="ttdeci">static int IntersectAllBetweenExtendedElms(out List&lt; ATEC::GeometryNET::XPoint3d &gt; isPnt1, out List&lt; ATEC::GeometryNET::XPoint3d &gt; isPnt2, int isPntSize, ATEC::ATDataCoreNET::ATObjects::ATObject edP1, ATEC::ATDataCoreNET::ATObjects::ATObject edP2, ATEC::GeometryNET::XMatrix3d rotMatrix, double tolerance, ATEC::GeometryNET::XPoint3d idPnt1P, ATEC::GeometryNET::XPoint3d idPnt2P)</div><div class="ttdoc">Desc： 计算两个元素的所有交点，直线将被无限延长</div><div class="ttdef"><b>Definition:</b> ATCalFuncsExtension.cpp:118</div></div>
<div class="ttc" id="anamespace_s_s_d_p_n_e_t_html"><div class="ttname"><a href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div><div class="ttdef"><b>Definition:</b> ATBtmkFuncsExtension.h:17</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
